﻿package com.obas.model.business
{
	import com.ease.model.NamespaceModel;
	import com.obas.model.business.Explorer;
	import com.obas.type.EntityObjectType;
	import mx.collections.ArrayCollection;

	[Bindable]
	[RemoteClass(alias="com.obas.model.business.Explorer")]
	
	public class Explorer
		extends
			com.ease.model.NamespaceModel
	{

		private var _icon:String;
		private var _childIcon:String;
		private var _parentExplorerId:Number;
		private var _parentExplorer:com.obas.model.business.Explorer;
		private var _childExplorers:mx.collections.ArrayCollection;
		private var _expand:Boolean;
		private var _alsoFolder:Boolean;
		private var _entityType:com.obas.type.EntityObjectType;
		private var _display:Boolean;
		private var _addExplorerable:Boolean;
		private var _leaf:Boolean;

		public function Explorer()
		{
		}

		public function get icon():String
		{
			return _icon;
		}

		public function set icon(value:String):void
		{
			_icon = value;
		}

		public function get childIcon():String
		{
			return _childIcon;
		}

		public function set childIcon(value:String):void
		{
			_childIcon = value;
		}

		public function get parentExplorerId():Number
		{
			return _parentExplorerId;
		}

		public function set parentExplorerId(value:Number):void
		{
			_parentExplorerId = value;
		}

		public function get parentExplorer():com.obas.model.business.Explorer
		{
			return _parentExplorer;
		}

		public function set parentExplorer(value:com.obas.model.business.Explorer):void
		{
			_parentExplorer = value;
		}

		public function get childExplorers():mx.collections.ArrayCollection
		{
			return _childExplorers;
		}

		public function set childExplorers(value:mx.collections.ArrayCollection):void
		{
			_childExplorers = value;
		}

		public function get expand():Boolean
		{
			return _expand;
		}

		public function set expand(value:Boolean):void
		{
			_expand = value;
		}

		public function get alsoFolder():Boolean
		{
			return _alsoFolder;
		}

		public function set alsoFolder(value:Boolean):void
		{
			_alsoFolder = value;
		}

		public function get entityType():com.obas.type.EntityObjectType
		{
			return _entityType;
		}

		public function set entityType(value:com.obas.type.EntityObjectType):void
		{
			_entityType = value;
		}

		public function get display():Boolean
		{
			return _display;
		}

		public function set display(value:Boolean):void
		{
			_display = value;
		}

		public function get addExplorerable():Boolean
		{
			return _addExplorerable;
		}

		public function set addExplorerable(value:Boolean):void
		{
			_addExplorerable = value;
		}

		public function get leaf():Boolean
		{
			return _leaf;
		}

		public function set leaf(value:Boolean):void
		{
			_leaf = value;
		}
	}
}